package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.bw.itext.pdf.annotation.PdfValue;
import lombok.Data;

/**
 * 
 * @TableName t_product
 */
@TableName(value ="t_product")
@Data
public class Product implements Serializable {
    /**
     * 
     */
    @PdfValue(colName = "编号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @PdfValue(colName = "产品名称")
    private String name;

    /**
     * 
     */
    @PdfValue(colName = "产品价格")
    private BigDecimal price;

    /**
     * 
     */
    @PdfValue(colName = "产品图片")
    private String img;

    /**
     * 
     */
    private Integer tid;
    private Integer state;

    @TableField(exist = false)
    private String tname;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}